package com.sdry.service.cb;

import com.sdry.dao.cb.UserMapper;
import com.sdry.entity.cb.User;
import com.sdry.utils.PageBean;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class UserServiceImpl  implements UserService {


    @Resource
    private UserMapper userMapper;

    @Override
    public User queryById(Long id) {
        return null;
    }

    @Override
    public List<User> queryAll(Map map) {
        return userMapper.find(map);
    }

    @Override
    public List<User> findPage(PageBean pageBean) {
        return null;
    }

    @Override
    public Integer selectCount(PageBean pageBean) {
        return null;
    }

    @Override
    public User selectByPrimaryKey(Serializable id) {
        return null;
    }

    @Override
    public Integer insert(User param) {
        return userMapper.insert(param);
    }

    @Override
    public Integer update(User param) {
        return null;
    }

    @Override
    public Integer deleteById(Long id) {
        return null;
    }

    @Override
    public Integer delete(Serializable[] ids) {
        return null;
    }
}
